/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package pl.put.dcs_modeler.utils;

import java.io.File;
import java.util.logging.Logger;

import org.apache.commons.configuration.ConfigurationException;
import org.apache.commons.configuration.XMLConfiguration;
// TODO dodac obsluge wszystkich konfigów
/**
 *
 * @author LukaszR
 * 
 */
public class ConfigUtil 
{
    private static Logger log =
            Logger.getLogger( ConfigUtil.class.getName() );
    
    static public void getConfigFile( String path ) 
    {
        // TODO Jak wydobyc sciezke do projektu w API?
        File file = new File( path );
        try
        {
            XMLConfiguration config = new XMLConfiguration( file );
        } catch( ConfigurationException ex )
        {
          //  Exceptions.printStackTrace( ex );
        }
    }
}
